package com.example.dao;

import com.example.entity.GoodsCollectionDTO;
import com.example.entity.UserCollection;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.Date;
import java.util.List;

public interface CollectionDao {
    int addCollection( @Param("gid") int gid,
                       @Param("uid") int uid,
                       @Param("time") String time);
    List<GoodsCollectionDTO> getUserCollections(int uid);
    int remove(@Param("collectionid") int collectionid);
}
